<template>
  <div id="app">
    <div id="nav">
      <router-link to="/">Home</router-link> |
      <router-link to="/about">About</router-link> |
      <router-link to="/elements">elements</router-link>
    </div>
    <router-view/>
  </div>
</template>

<script>
export default {
  name: 'app',
  components: {
  },
  provide () {
    return {
      app: this
    }
  },
  data () {
    return {
      adminUser : null
    }
  },
  methods: {
      setAdminUser () {
        this.adminUser = 'admin'
      },
  },
  mounted () {
    this.setAdminUser ();
  }
}
</script>

<style>

</style>
